<!-- navbar-fixed-top -->
<nav class="navbar navbar-default navbar-fixed-top background-top-bottom" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#example-navbar-collapse">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/"><h1><{$site.simple_name}></h1></a>
        </div>
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav">
                <{foreach item=item key=index from=$menus}>
                    <{if $item.has_child==0}>
                        <li class="<{if $item.is_current}>active<{/if}>"><a href="<{$item.url}>" target="<{$item.target}>"><{$item.name}></a></li>
                    <{else}>
                        <li class="dropdown">
                            <a href="<{$item.url}>" class="dropdown-toggle" data-toggle="dropdown">
                                <{$item.name}> <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <{foreach item=child key=cIndex from=$item.childs}>
                                    <li><a href="<{$child.url}>" target="<{$child.target}>"><{$child.name}></a></li>
                                <{/foreach}>
                            </ul>
                        </li>
                    <{/if}>
                <{/foreach}>
            </ul>
            <!--
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="#">iOS</a></li>
                <li><a href="#">SVN</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        Java <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">jmeter</a></li>
                        <li><a href="#">EJB</a></li>
                        <li><a href="#">Jasper Report</a></li>
                        <li class="divider"></li>
                        <li><a href="#">分离的链接</a></li>
                        <li class="divider"></li>
                        <li><a href="#">另一个分离的链接</a></li>
                    </ul>
                </li>
            </ul>
            -->
        </div>
    </div>
</nav>
<div class="clearfix padding-top"></div>
<!--
<ul class="breadcrumb">
    <li><a href="#">Home</a></li>
    <li><a href="#">发现</a></li>
</ul>
-->